<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<c:forEach var="news" items="${pageInfo.list}">
    <tr>
        <td>${news.id }</td>
        <td>${news.name }</td>
        <td>${news.remark}</td>
        <td>${news.catalogId==0?"顶级分类":"次级分类"}</td>
        <td>
            <a  href="${basePath}/admin/NewsCatalog/toUpdate?id=${news.id}" class="tablelink">编辑</a>
            <a name="delete" href="${basePath}/admin/NewsCatalog/delete?id=${news.id}" class="tablelink" > 删除</a>
        </td>
    </tr>
</c:forEach>
<input type="hidden" id="pages" value="${pageInfo.pages }">
<input type="hidden" id="pageNum" value="${pageInfo.pageNum }">